package cn.kgc.tangcco.anyang.aop.d_myaop;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component("userService")
public class UserServiceImpl implements UserService {
	@Autowired
	private AOP aop;
	@Override
	public void save() {
		aop.begin();
		System.out.println("-----核心业务：保存！！！------");
		aop.commite();
	}

}
